<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" component="$UI/system/components/justep/window/window" design="device:mobile"
  xid="window">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="top:11px;left:27px;height:auto;"> 
    <div component="$UI/system/components/justep/data/baasData" xid="mainData"
      directDelete="true" autoLoad="false" idColumn="fUserName" onSaveCommit="saveCommit"
      queryAction="queryUser_table" tableName="user_table" url="/Highde/user_action"
      saveAction="saveUser_table" autoNew="true" onBeforeSave="mainDataBeforeSave"> 
      <rule xid="rule1">
   <col name="fID" xid="ruleCol1">
    <calculate xid="calculate1">
     <expr xid="default2">justep.UUID.createUUID()</expr></calculate> </col> </rule>
  <column label="用户名" name="fUserName" type="String" xid="default18"></column>
  <column label="用户密码" name="fUserPassword" type="String" xid="default19"></column>
  <column label="手机号" name="fPhone" type="String" xid="default20"></column>
  <column label="邮件地址" name="fEmail" type="String" xid="default21"></column>
  <column label="权限级别" name="fUserLevel" type="String" xid="default22"></column>
  <column label="管理者" name="fManager" type="String" xid="default23"></column>
  <column label="注册时间" name="fRegistDate" type="DateTime" xid="default24"></column>
  <column label="上次登录时间" name="fLastLoginDataTime" type="DateTime" xid="default25"></column>
  <column label="真实姓名" name="fTrueName" type="String" xid="default26"></column>
  <column label="是否启用" name="fIsChecked" type="Boolean" xid="default27"></column>
  <column label="所属公司" name="fCompany" type="String" xid="xid1"></column>
  <column label="行业类型" name="fIndustry" type="String" xid="xid2"></column></div> 
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="dataPasswordTemp" idColumn="fPassword" autoNew="false"><column label="密码" name="fPassword" type="String" xid="xid3"></column>
  <data xid="default3">[{&quot;fPassword&quot;:&quot;&quot;}]</data></div></div>  
  <span component="$UI/system/components/justep/windowReceiver/windowReceiver" xid="receiver"></span><div component="$UI/system/components/justep/panel/panel" class="x-panel x-full"> 
    <div class="x-panel-top"> 
      <div component="$UI/system/components/justep/titleBar/titleBar" title="注册"
        class="x-titlebar"> 
        <div class="x-titlebar-left"> 
          <a component="$UI/system/components/justep/button/button" label=""
            class="btn btn-link btn-only-icon" icon="icon-chevron-left" onClick="{operation:'window.close'}"
            xid="backBtn"> 
            <i class="icon-chevron-left"/>  
            <span/> 
          </a> 
        </div>  
        <div class="x-titlebar-title">注册
  </div>  
        <div class="x-titlebar-right reverse">
          <a component="$UI/system/components/justep/button/button" class="btn btn-default"
            label="提交" xid="button1" onClick="{operation:'mainData.save'}" icon="linear linear-upload" bind-enable='justep.Util.isString( $model.mainData.val("fUserName"))&amp;&amp;
$model.mainData.val("fUserName").length &gt; 2 &amp;&amp;
justep.Util.isString( $model.mainData.val("fPhone"))&amp;&amp;
(/^1[3|4|5|7|8][0-9]\d{8}$/.test($model.mainData.val("fPhone")))&amp;&amp;
justep.Util.isString( $model.mainData.val("fEmail"))&amp;&amp;
(/^([A-Za-z0-9\-_\u4e00-\u9fa5]+)@([a-zA-Z0-9\-_]+(\.[a-zA-Z0-9\-_]+)+)$/.test( $model.mainData.val("fEmail")))&amp;&amp;
justep.Util.isString( $model.mainData.val("fTrueName"))&amp;&amp;
justep.Util.isString( $model.mainData.val("fCompany"))&amp;&amp;
justep.Util.isString( $model.mainData.val("fIndustry"))&amp;&amp;
justep.Util.isString( $model.dataPasswordTemp.val("fPassword"))&amp;&amp;
$model.dataPasswordTemp.val("fPassword").length &gt; 5'> 
            <i xid="i1" class="linear linear-upload"/>  
            <span xid="span1">提交</span>
          </a> 
        </div> 
      </div> 
    </div>  
    <div class="x-panel-content"> 
      <div component="$UI/system/components/justep/controlGroup/controlGroup"
        class="x-control-group" title="注册信息"> 
        <div class="x-control-group-title">详细信息</div>  
        <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20"> 
          <label class="x-label left" bind-text="$model.mainData.label('fUserName')"/>  
          <div class="x-edit"> 
            <input class="form-control" component="$UI/system/components/justep/input/input" data="mainData" bind-ref="mainData.ref('fUserName')" xid="input3"></input></div> 
        </div>  
        <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20"> 
          <label class="x-label left" bind-text='$model.mainData.label("fUserPassword")'/>  
          <div class="x-edit"> 
            <input component="$UI/system/components/justep/input/password" class="form-control" xid="password1" bind-ref='$model.dataPasswordTemp.ref("fPassword")'></input></div> 
        </div>  
        <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20"> 
          <label class="x-label left" bind-text="$model.mainData.label('fPhone')"/>  
          <div class="x-edit"> 
            <input class="form-control" component="$UI/system/components/justep/input/input"
              data="mainData" bind-ref="mainData.ref('fPhone')"/> 
          </div> 
        </div>  
        <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20"> 
          <label class="x-label left" bind-text="$model.mainData.label('fEmail')"/>  
          <div class="x-edit"> 
            <input class="form-control" component="$UI/system/components/justep/input/input"
              data="mainData" bind-ref="mainData.ref('fEmail')"/> 
          </div> 
        </div>  
        <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20"> 
          <label class="x-label left" bind-text="$model.mainData.label('fTrueName')"/>  
          <div class="x-edit"> 
            <input class="form-control" component="$UI/system/components/justep/input/input"
              data="mainData" bind-ref="mainData.ref('fTrueName')"/> 
          </div> 
        </div> 
      <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit1">
   <label class="x-label left" bind-text='$model.mainData.label("fCompany")' xid="label1"></label>
   <div class="x-edit" xid="div1">
    <input class="form-control" component="$UI/system/components/justep/input/input" data="mainData" bind-ref='$model.mainData.ref("fCompany")' xid="input1"></input></div> </div>
  <div component="$UI/system/components/justep/labelEdit/labelEdit" class="x-label-edit x-label20" xid="labelEdit2">
   <label class="x-label left" bind-text='$model.mainData.label("fIndustry")' xid="label2"></label>
   <div class="x-edit" xid="div2">
    <input class="form-control" component="$UI/system/components/justep/input/input" data="mainData" bind-ref='$model.mainData.ref("fIndustry")' xid="input2"></input></div> </div></div> 
    </div> 
  </div> 
</div>
